package com.jiyinit.web.core.business.service;

import com.jiyinit.core.framework.base.paging.PagingResult;
import com.jiyinit.web.core.business.dao.TabCoreOrgDao;
import com.jiyinit.web.core.business.dao.TabCorePrcDao;
import com.jiyinit.web.core.business.dto.OrgPageRequest;
import com.jiyinit.web.core.business.entity.TabCoreOrgEntity;
import com.jiyinit.web.core.business.entity.TabCorePrcEntity;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * 部门管理service
 *
 * @author zhaolaiwei
 * @version 1.0
 * @date 2017/4/18 9:33
 * @since 1.0
 */
@Service("core.prcServiceImpl")
public class PrctureServiceImpl {

    @Resource(name = "core.coreprcDao")
    private TabCorePrcDao tabCorePrcDao;

   public int insert(TabCorePrcEntity entity){
      return  tabCorePrcDao.insert(entity);
   }
    public TabCorePrcEntity getById(Integer  id){
        return tabCorePrcDao.findById(id);
    }
}
